<?php
/**
 * Created by PhpStorm.
 * User: chentaohua
 * Date: 2019/1/5
 * Time: 17:35
 * 会员验证类
 */

namespace app\admin\validate;

class Member extends Base{

    /**
     * 充值时验证
     */
    public function doRecharge(){
        $this -> rule = [
            'id' => 'require|number',
            'money' => 'require|number|>:0'
        ];
    }

}